package com.ruoyi.system.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 竞价信息对象 sys_bidinfo
 * 
 * @author ruoyi
 * @date 2020-12-13
 */
public class SysBidinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 竞价信息表ID */
    private Long bidInfoId;

    /** 采购计划商品表ID */
    @Excel(name = "采购计划商品表ID")
    private Long purchaseItemId;

    /** 采购单位ID */
    @Excel(name = "采购单位ID")
    private Long purchasingUnitId;

    /** 供应商ID */
    @Excel(name = "供应商ID")
    private Long supplierId;

    /** 开始时间 */
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginTime;

    /** 结束时间 */
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 中标金额 */
    @Excel(name = "中标金额")
    private Long successfulAmount;

    /** 竞价状态 */
    @Excel(name = "竞价状态")
    private String bidStatus;

    /** 是否最低价 */
    @Excel(name = "是否最低价")
    private Integer isLowerest;

    /** 商品要求 */
    @Excel(name = "商品要求")
    private String demand;

    /** 最低报价供应商个数 */
    @Excel(name = "最低报价供应商个数")
    private Integer lowerestNumber;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String attribute1;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String attribute2;

    /** 扩展字段3 */
    @Excel(name = "扩展字段3")
    private String attribute3;

    /** 数量 */
    @Excel(name = "数量")
    private String count;

    /** 扩展字段4 */
    @Excel(name = "扩展字段4")
    private String attribute4;

    private String goodsName;
    private Double offerAmount;
    //货物分类ID
    private Long goodsId;

    public Double getOfferAmount() {
        return offerAmount;
    }

    public void setOfferAmount(Double offerAmount) {
        this.offerAmount = offerAmount;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public void setBidInfoId(Long bidInfoId)
    {
        this.bidInfoId = bidInfoId;
    }

    public Long getBidInfoId() 
    {
        return bidInfoId;
    }
    public void setPurchaseItemId(Long purchaseItemId) 
    {
        this.purchaseItemId = purchaseItemId;
    }

    public Long getPurchaseItemId() 
    {
        return purchaseItemId;
    }
    public void setPurchasingUnitId(Long purchasingUnitId) 
    {
        this.purchasingUnitId = purchasingUnitId;
    }

    public Long getPurchasingUnitId() 
    {
        return purchasingUnitId;
    }
    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }
    public void setBeginTime(Date beginTime) 
    {
        this.beginTime = beginTime;
    }

    public Date getBeginTime() 
    {
        return beginTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setSuccessfulAmount(Long successfulAmount) 
    {
        this.successfulAmount = successfulAmount;
    }

    public Long getSuccessfulAmount() 
    {
        return successfulAmount;
    }
    public void setBidStatus(String bidStatus) 
    {
        this.bidStatus = bidStatus;
    }

    public String getBidStatus() 
    {
        return bidStatus;
    }
    public void setIsLowerest(Integer isLowerest) 
    {
        this.isLowerest = isLowerest;
    }

    public Integer getIsLowerest() 
    {
        return isLowerest;
    }
    public void setDemand(String demand) 
    {
        this.demand = demand;
    }

    public String getDemand() 
    {
        return demand;
    }
    public void setLowerestNumber(Integer lowerestNumber)
    {
        this.lowerestNumber = lowerestNumber;
    }

    public Integer getLowerestNumber()
    {
        return lowerestNumber;
    }
    public void setAttribute1(String attribute1) 
    {
        this.attribute1 = attribute1;
    }

    public String getAttribute1() 
    {
        return attribute1;
    }
    public void setAttribute2(String attribute2) 
    {
        this.attribute2 = attribute2;
    }

    public String getAttribute2() 
    {
        return attribute2;
    }
    public void setAttribute3(String attribute3) 
    {
        this.attribute3 = attribute3;
    }

    public String getAttribute3() 
    {
        return attribute3;
    }
    public void setCount(String count) 
    {
        this.count = count;
    }

    public String getCount() 
    {
        return count;
    }
    public void setAttribute4(String attribute4) 
    {
        this.attribute4 = attribute4;
    }

    public String getAttribute4() 
    {
        return attribute4;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bidInfoId", getBidInfoId())
            .append("purchaseItemId", getPurchaseItemId())
            .append("purchasingUnitId", getPurchasingUnitId())
            .append("supplierId", getSupplierId())
            .append("beginTime", getBeginTime())
            .append("endTime", getEndTime())
            .append("successfulAmount", getSuccessfulAmount())
            .append("bidStatus", getBidStatus())
            .append("isLowerest", getIsLowerest())
            .append("demand", getDemand())
            .append("lowerestNumber", getLowerestNumber())
            .append("attribute1", getAttribute1())
            .append("attribute2", getAttribute2())
            .append("attribute3", getAttribute3())
            .append("createTime", getCreateTime())
            .append("count", getCount())
            .append("attribute4", getAttribute4())
                .append("goodsId", getGoodsId())
                .append("goodsName", getGoodsName())
            .toString();
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }
}
